package operation;

import book.List.bookList;
import book.List.book;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-08
 * TIME:19:25
 */
public class disoperation implements IOoperation {


    @Override
    public void work(bookList bookList) {
        System.out.println("显示图书");
        int a=bookList.getUsesize();
        for (int i = 0; i < a; i++) {
            book book=bookList .getBook(i);
            System.out.println(book);
        }
        System.out.println(bookList .getUsesize() );

    }
}
